home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / mdxdos23 / appl.h next >
Text File  |  1996-07-10  |  1KB  |  74 lines

  1. #define    BEGIN        {
  2. #define    END            }
  3. #define    ELSE        else
  4. #define    IF if        (
  5. #define    THEN        )
  6. #define    AND            &&
  7. #define    OR            ||
  8. #define    LAND        &
  9. #define    LOR            |
  10. #define    XOR            ^
  11. #define    MOD            %
  12. #define    SLAND(x,y)    (x)    &= (y)
  13. #define    SLOR(x,y)    (x)    |= (y)
  14. #define    SXOR(x,y)    (x)    ^= (y)
  15. #define    LANDE        &=
  16. #define    LORE        |=
  17. #define    XORE        ^=
  18. #define    MODE        %=
  19. #define    REPEAT        do
  20. #define    UNTIL(x)    while    (x)
  21. #define    WHILE        while    (
  22. #define    FOREVER        for(;;)
  23. #define    FOR            for    (
  24. #define    DO            )
  25. #define    GETS        =
  26. #define    EQ            ==
  27. #define    NE            !=
  28. #define    GE            >=
  29. #define    LE            <=
  30. #define    LT            <
  31. #define    GT            >
  32. #define    NOT            !
  33. #define    LNEG        ~
  34. #define    NOTEQ        !=
  35. #define Void        void
  36. #define MsDosCdecl    cdecl
  37. #define CompilerDepMainAttr cdecl
  38.  
  39. typedef enum    TApplTimers
  40. {
  41.     ApplTimerDisplayTimer    =    1
  42. } TApplTimers;
  43.  
  44. typedef enum    TApplMsgCode
  45. {
  46.     ApplGetTimeMsgCode        =    28500,
  47.     ApplGetTimeReplyCode,
  48.     ApplGetFileMsgCode,
  49.     ApplPutFileMsgCode,
  50.     ApplTextDataMsgCode,
  51.     ApplTextReplyMsgCode
  52. } TApplMsgCode;
  53.  
  54.  
  55. typedef enum    TApplError
  56. {
  57.     ApplErrFileNotFound =    2000,
  58.     ApplErrFileExists,
  59.     ApplErrCreateFileError,
  60.     ApplErrWriteFileError
  61. } TApplError;
  62.  
  63. typedef struct    TFileTransferInfo
  64. {
  65.     TBoolean    ReplaceFile;
  66.     Int8        SrcFileName[50];
  67.     Int8        TgtFileName[50];
  68. } TFileTransferInfo;
  69.  
  70.  
  71. TBoolean    ApplShutdown    GETS    False;
  72. TMdxProcId    CallId;
  73. void        *InitStack;
  74.